]> dgit.raspbian.org Git - gnome-shell.git/commit
appDisplay: Use custom function to retrieve item page and position
authorGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Tue, 26 May 2020 04:41:43 +0000 (01:41 -0300)
committerFlorian Müllner <florian.muellner@gmail.com>
Mon, 20 Jul 2020 16:13:20 +0000 (16:13 +0000)
commit18234ea91a8eec06fc1c43a516ad2f42391e7ecb
tree9eb556b0d34df4689fbf13fe0c04c99b3a9f3be7
parente3f3297cbae5a888805333e2498cc7cb24afa669
appDisplay: Use custom function to retrieve item page and position

It is important that '_loadApps()' return a sorted list -- adding the
same icons at the same positions but in different orders results in
a wrong icon grid.

Add support for using a custom positioning function, and implement it
in AppDisplay. Because FolderView doesn't implement a custom sorting
function, the items are still sorted alphabetically.

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1284
js/ui/appDisplay.js